* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, sans-serif;
    color: #111;
    background: #fafafa
}

a {
    color: #0b63f3;
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10
}

.site-nav a {
    margin-right: 12px;
    padding: 6px 10px;
    border-radius: 8px
}

.site-nav a:hover {
    background: #f3f4f6
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff
}

.btn:hover {
    background: #f9fafb
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px
}

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04)
}

.card h3 {
    margin: 8px 0 6px 0;
    font-size: 18px
}

.meta {
    font-size: 13px;
    color: #666;
    margin-top: 4px
}

.placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    color: #999
}

.badge {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2ff;
    margin-right: 6px
}

.search {
    margin: 12px 0
}

input[type="search"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 16px 0
}

.filter-btn {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    cursor: pointer
}

.filter-btn.active {
    background: #f3f4f6
}

.breadcrumbs {
    font-size: 13px;
    color: #666;
    margin: 8px 0
}

.content {
    max-width: 880px;
    margin: 0 auto;
    padding: 16px
}

.detail-header {
    padding: 8px 0 12px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px
}

blockquote {
    margin: 12px 0;
    padding: 12px;
    border-left: 3px solid #e5e7eb;
    background: #fafafa;
    border-radius: 8px
}